#pragma once
#ifndef _ROTATION_GUN_H_
#define _ROTATION_GUN_H_
#include "GunBody.h"
#include "BaseObject.h"
#include "BulletObject.h"
#include "GunObject.h"

class RotationGun :
	public GunObject
{
public:
	RotationGun(b2World *_World);
	~RotationGun();
	virtual void init(SpriteBatchNode* _Spritebatch, SpriteFrameCache* _Cache, Sprite *_Parent);

	virtual void update(float dt);

	virtual void draw();

	virtual void destroy();

	virtual void onCollisionWith(BaseObject *_Object);

	virtual void initAction();

};
#endif _ROTATION_GUN_H_